package com.icesoft.generation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.icesoft.framework.core.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
@TableName("tb_gen_field")
public class GenField extends BaseEntity {

	@TableField
	@Column(value = "table_id", comment = "类型")
	private Long tableId;

	@TableField
	@Column(value = "type", comment = "类型")
	private String type;

	@TableField
	@Column(value = "name", comment = "名称")
	private String name;

	@TableField
	@Column(value = "exist", comment = "是否存在表中")
	private boolean exist;

	@TableField
	@Column(value = "comment_name", comment = "名称")
	private String commentName;

	@TableField
	@Column(value = "comment_type", comment = "名称")
	private String commentType;

	@TableField
	@Column(value = "comment_comment", comment = "名称")
	private String commentComment;

}
